package com.example.sbbsec.fjhelper;

/**
 * Created by Arat.Wu on 2018/12/11.
 */
public class FastJsonHelper {
    private static final ThreadLocal<String> THREAD_LOCAL = new ThreadLocal<>();


    public static void start(Class tClass) {
        THREAD_LOCAL.set(tClass.getName());
    }


    public static Class get() throws ClassNotFoundException {
        return Class.forName(THREAD_LOCAL.get());
    }

    public static void  remove() {
        THREAD_LOCAL.remove();
    }

}
